package com.bai.test;

import java.sql.Connection;
import java.util.List;

/**
 * Created by Admin on 12/19 0019.
 */
public interface DAO<T> {
    void update(String sql,Object...args);
    T get(Connection connection,String sql, Object...args);
    List<T> getList(String sql,Object...args);
    <E> E getForValue(String sql,Object...args);
}
